<script>
	import {
		ws
	} from './config/config';
	import {
		socket
	} from './config/ws';
	export default {
		onLaunch: function(op) {
			uni.setStorageSync('systemdeflang',op.lang || 'zh-cn')
			uni.setStorageSync('token', op.query.token)
			socket.init(ws, op.query.token);
		},
		onShow: function() {

		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	iframe {
		z-index: 9999;
	}

	@import '/static/css/animate.css';
</style>